package com.sms.core.request;

import java.util.Map;

/**
 * @desc 接口(/api/send)接收的请求对象
 * @author WuJiangWu
 * @date 2018年7月22日下午5:44:00
 */
public class SmsRequest {
    
    /** 应用id */
    private String appId;
    /** 发送时间戳 */
    private long timestamp;
    /** psot请求body是否加密  */
    private boolean isEncrypt = false;
    /** 是否调试模式（true为生产环境、false为调试模式不会调用实际发信通道） */
    private boolean isDebug;
    
    /** 接收手机号 */
    private String mobile;
    /** 发送内容 */
    private String content;
    /** 来自某用户 */
    private String fromUser;
    /** 发送给某用户 */
    private String toUser;
    /** 短信模板-模板编码 */
    private String templateCode;
    /** 短信模板-参数变量 */
    private Map<String, String> parameters;
    
    public String getAppId() {
		return appId;
	}
	public void setAppId(String appId) {
		this.appId = appId;
	}
	public String getMobile() {
        return mobile;
    }
    public void setMobile(String mobile) {
        this.mobile = mobile;
    }
    public String getContent() {
        return content;
    }
    public void setContent(String content) {
        this.content = content;
    }
    public String getFromUser() {
        return fromUser;
    }
    public void setFromUser(String fromUser) {
        this.fromUser = fromUser;
    }
    public String getToUser() {
        return toUser;
    }
    public void setToUser(String toUser) {
        this.toUser = toUser;
    }
    public Map<String, String> getParameters() {
        return parameters;
    }
    public void setParameters(Map<String, String> parameters) {
        this.parameters = parameters;
    }
    public String getTemplateCode() {
        return templateCode;
    }
    public void setTemplateCode(String templateCode) {
        this.templateCode = templateCode;
    }
    public long getTimestamp() {
        return timestamp;
    }
    public void setTimestamp(long timestamp) {
        this.timestamp = timestamp;
    }
    public boolean isEncrypt() {
		return isEncrypt;
	}
	public void setEncrypt(boolean isEncrypt) {
		this.isEncrypt = isEncrypt;
	}
	public boolean isDebug() {
		return isDebug;
	}
	public void setDebug(boolean isDebug) {
		this.isDebug = isDebug;
	}
}
